//
//  EGMImageUtil.h
//  EGMLibrary
//
//  Created by apple on 2017/7/20.
//  Copyright © 2017年 egoman. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface EGMImageUtil : NSObject

+(UIImage*)clipRoundImage:(UIImage*)source;
+ (UIImage *) scaleFromImage: (UIImage *) image toSize: (CGSize) size;
+ (UIImage *)thumbnailWithImageWithoutScale:(UIImage *)image size:(CGSize)asize;
+(UIImage *)imageByScalingToMaxSize:(NSInteger)maxWidth source:(UIImage *)sourceImage ;
+ (UIImage *)imageByScalingAndCroppingForSourceImage:(UIImage *)sourceImage targetSize:(CGSize)targetSize ;
@end
